package com.java.control.search;


/**
 * 搜索条件基类
 * @author wjh
 * @version  Nov 22, 2011 8:49:34 AM
 */
public abstract class SearchCond {
	/**
	 * 搜索关键字,非数组形式
	 */
	protected String searchWord;
	
	/**
	 * 分页大小
	 */
	protected Long pageSize=20L;
	
	/**
	 * 当前页码
	 */
	protected Long pageIndex=1L;
	
	/**
	 * 存放结果记录总数
	 */
	protected Long totalCount=0L;
	
	
	
	public abstract ConditionPart getCondition();



	public String getSearchWord() {
		return searchWord;
	}

	public void setSearchWord(String searchWord) {
		this.searchWord = searchWord;
	}

	public Long getPageSize() {
		return pageSize;
	}

	public void setPageSize(Long pageSize) {
		this.pageSize = pageSize;
	}

	public Long getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(Long pageIndex) {
		this.pageIndex = pageIndex;
	}

	public Long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Long totalCount) {
		this.totalCount = totalCount;
	}

	
}
